home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NetNews Offline 2
/
NetNews Offline Volume 2.iso
/
news
/
comp
/
std
/
c
/
266
< prev
next >
Wrap
Internet Message Format
|
1996-08-06
|
902b
Path: ux211.wmin.ac.uk!ncfee
From: ncfee@westminster.ac.uk (Chris Ebenezer)
Newsgroups: comp.std.c
Subject: Re: size_t
Date: 1 Feb 1996 12:33:36 GMT
Organization: University of Westminster
Message-ID: <4eqbv0$ckd@badger.wmin.ac.uk>
References: <4eiua2$9u@engnews1.Eng.Sun.COM>
NNTP-Posting-Host: ux211.wmin.ac.uk
X-Newsreader: TIN [version 1.2 PL2]
Steve Clamage (clamage@Eng.Sun.COM) wrote:
: Example: A system has a 48-bit address space and 48-bit pointers, but does
: not have a 48-bit integer type. (The integer types are 8, 16, 32, and
: maybe 64 bits.) Suppose the implementation predefined an unsigned 48-bit
: type "__ptrsize", and size_t was typedef'd to be __ptrsize.
Well, an implementation is free to represent int with 48 bits. All thats
guarenteed is that :
long >= 32bits; short >= 16 bits
and
short <= int <= long
Maybe someone would care to correct me on this.
Chris.
--